package org.wu.framework.authorization.platform.application;

import org.wu.framework.web.response.Result;
import org.wu.framework.authorization.platform.domain.model.sys.zone.application.SysZoneApplication;
import org.wu.framework.authorization.platform.application.command.sys.zone.application.SysZoneApplicationRemoveCommand;
import org.wu.framework.authorization.platform.application.command.sys.zone.application.SysZoneApplicationStoryCommand;
import org.wu.framework.authorization.platform.application.command.sys.zone.application.SysZoneApplicationUpdateCommand;
import org.wu.framework.authorization.platform.application.command.sys.zone.application.SysZoneApplicationQueryListCommand;
import org.wu.framework.authorization.platform.application.command.sys.zone.application.SysZoneApplicationQueryOneCommand;
import org.wu.framework.authorization.platform.application.dto.SysZoneApplicationDTO;
import java.util.List;
import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
/**
 * describe 应用信息 
 *
 * @author Jia wei Wu
 * @date 2024/04/02 06:21 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplication 
 **/

public interface SysZoneApplicationApplication {


    /**
     * describe 新增应用信息
     *
     * @param sysZoneApplicationStoryCommand 新增应用信息
     * @return {@link Result< SysZoneApplication >} 应用信息新增后领域对象
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<SysZoneApplication> story(SysZoneApplicationStoryCommand sysZoneApplicationStoryCommand);

    /**
     * describe 批量新增应用信息
     *
     * @param sysZoneApplicationStoryCommandList 批量新增应用信息
     * @return {@link Result<List< SysZoneApplication >>} 应用信息新增后领域对象集合
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<List<SysZoneApplication>> batchStory(List<SysZoneApplicationStoryCommand> sysZoneApplicationStoryCommandList);

    /**
     * describe 更新应用信息
     *
     * @param sysZoneApplicationUpdateCommand 更新应用信息
     * @return {@link Result< SysZoneApplication >} 应用信息领域对象
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<SysZoneApplication> updateOne(SysZoneApplicationUpdateCommand sysZoneApplicationUpdateCommand);

    /**
     * describe 查询单个应用信息
     *
     * @param sysZoneApplicationQueryOneCommand 查询单个应用信息
     * @return {@link Result< SysZoneApplicationDTO >} 应用信息DTO对象
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<SysZoneApplicationDTO> findOne(SysZoneApplicationQueryOneCommand sysZoneApplicationQueryOneCommand);

    /**
     * describe 查询多个应用信息
     *
     * @param sysZoneApplicationQueryListCommand 查询多个应用信息
     * @return {@link Result <List<SysZoneApplicationDTO>>} 应用信息DTO对象
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result <List<SysZoneApplicationDTO>> findList(SysZoneApplicationQueryListCommand sysZoneApplicationQueryListCommand);

    /**
     * describe 分页查询多个应用信息
     *
     * @param sysZoneApplicationQueryListCommand 分页查询多个应用信息
     * @return {@link Result <LazyPage<SysZoneApplicationDTO>>} 分页应用信息DTO对象
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result <LazyPage<SysZoneApplicationDTO>> findPage(int size, int current, SysZoneApplicationQueryListCommand sysZoneApplicationQueryListCommand);

    /**
     * describe 删除应用信息
     *
     * @param sysZoneApplicationRemoveCommand 删除应用信息
     * @return {@link Result< SysZoneApplication >} 应用信息
     
     * @author Jia wei Wu
     * @date 2024/04/02 06:21 晚上
     **/

    Result<SysZoneApplication> remove(SysZoneApplicationRemoveCommand sysZoneApplicationRemoveCommand);

}